@import "common.scss";

.preview-root {
	background-color: #fcfdfe;
	overflow: hidden;
	position: relative;

	.preview-layer {
		position: absolute;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		background: transparent;
		@include zoom-in(99);
	}

	&.pre-mode {
		margin: 0 auto;
		background-color: inherit;

		.preview-body {
			width: 100%;
			padding: 0;
		}
	}
}

.preview-body {
	width: 100%;
	height: 100%;
	overflow: hidden;
	box-sizing: border-box;
}
